from moviepy.audio.AudioClip import concatenate_audioclips
from moviepy.editor import concatenate_videoclips, AudioFileClip

# 导入第一个音频文件
audio1 = AudioFileClip("C:/Users/ReasonDuan/Videos/Captures/5.mp3")

# 导入第二个音频文件
audio2 = AudioFileClip("C:/Users/ReasonDuan/Videos/Captures/6.mp3")

# 将两个音频文件拼接成一个音频文件
audio_combined = concatenate_audioclips([audio1, audio2])

# 将拼接后的音频文件保存为新的文件
audio_combined.write_audiofile("C:/Users/ReasonDuan/Videos/Captures/c56.mp3")